<template>
  <div>
    <Header></Header>
    <router-view></router-view>
    <Footer v-show="!$route.meta.isFooterHide"></Footer>
  </div>
</template>

<script>
import Footer from '@/components/Footer/index.vue'
import Header from '@/components/Header/inedx.vue'

export default {
  name: 'App',
  components: {
    Footer,
    Header,
  }, 
  mounted(){
    this.$store.dispatch('getCrategroyList')
    this.$store.dispatch('getBannerList')
  }
}
</script>

<style>

</style>
